package as.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * Register entity. @author MyEclipse Persistence Tools
 */

public class Register implements java.io.Serializable {

	// Fields

	private Integer registerNo;
	private Student student;
	private Course course;
	private Integer deviceNo;
	private ClassHours classHours;
	private Set attendanceRecords = new HashSet(0);

	// Constructors

	/** default constructor */
	public Register() {
	}

	/** minimal constructor */
	public Register(Integer registerNo) {
		this.registerNo = registerNo;
	}

	/** full constructor */
	public Register(Integer registerNo, Student student, Course course,
			Integer deviceNo, ClassHours classHours, Set attendanceRecords) {
		this.registerNo = registerNo;
		this.student = student;
		this.course = course;
		this.deviceNo = deviceNo;
		this.classHours = classHours;
		this.attendanceRecords = attendanceRecords;
	}

	// Property accessors

	public Integer getRegisterNo() {
		return this.registerNo;
	}

	public void setRegisterNo(Integer registerNo) {
		this.registerNo = registerNo;
	}

	public Student getStudent() {
		return this.student;
	}

	public void setStudent(Student student) {
		this.student = student;
	}

	public Course getCourse() {
		return this.course;
	}

	public void setCourse(Course course) {
		this.course = course;
	}

	public Integer getDeviceNo() {
		return this.deviceNo;
	}

	public void setDeviceNo(Integer deviceNo) {
		this.deviceNo = deviceNo;
	}

	public ClassHours getClassHours() {
		return this.classHours;
	}

	public void setClassHours(ClassHours classHours) {
		this.classHours = classHours;
	}

	public Set getAttendanceRecords() {
		return this.attendanceRecords;
	}

	public void setAttendanceRecords(Set attendanceRecords) {
		this.attendanceRecords = attendanceRecords;
	}

}